package com.ucvisitors.dao;

import java.util.ArrayList;
import java.util.List;

import com.ucvisitors.dto.Building;


public class BuildingDAOStub implements IBuildingDAO {
	
	@Override
	public List<String> fetchBuildingNames() throws Exception {
		List<String> buildingNames = new ArrayList<String>();
		
		
		
		return buildingNames;
	}

	@Override
	public List<Building> fetchBuildings() throws Exception {
		List<Building> allBuildings = new ArrayList<Building>();
		
		Building tangeman = new Building();
		tangeman.setId(1);
		tangeman.setLat(39.13162);
		tangeman.setLon(-84.51749);
		tangeman.setName("Tangeman");
		
		Building nippert = new Building();
		nippert.setId(2);
		nippert.setLat(39.13111);
		nippert.setLon(-84.51624);
		nippert.setName("Nippert");
		
		Building micken = new Building();
		micken.setId(2);
		micken.setLat(39.13188);
		micken.setLon(-84.51912);
		micken.setName("McMicken");
		
		allBuildings.add(tangeman);
		allBuildings.add(nippert);
		allBuildings.add(micken);
		
		return allBuildings;
	}
}